package com.ym.soso.service;

import com.ym.core.utils.tkmybatis.IBaseSV;
import com.ym.soso.domain.entity.PensionInfoEntity;
import com.ym.soso.domain.param.PensionInfoAppQryParam;
import com.ym.soso.domain.param.PensionInfoQueryParam;
import com.ym.soso.domain.param.PensionInfoUpdateParam;
import com.ym.soso.domain.param.PublishParam;
import com.ym.soso.domain.vo.PensionInfoListPcVO;
import com.ym.soso.domain.vo.PensionInfoSimVO;

import java.util.List;

/**
 * 养老Service接口
 *
 * @author ym
 * @date 2020-09-02
 */
public interface IPensionInfoSV extends IBaseSV<PensionInfoEntity> {

	/**
	 * 查询养老列表
	 *
	 * @param queryParam 养老 查询对象
	 * @return 养老集合
	 */
	List<PensionInfoListPcVO> selectListPC(PensionInfoQueryParam queryParam);


	/**
	 * 新增养老
	 *
	 * @param updateParam 养老 新增对象
	 * @return 结果
	 */
	Long insertPC(PensionInfoUpdateParam updateParam);

	/**
	 * 修改养老
	 *
	 * @param updateParam 养老 修改参数
	 * @return 结果
	 */
	int updateByIdPC(PensionInfoUpdateParam updateParam);

	/**
	 * 手机端列表查询
	 *
	 * @param pensionInfoAppQryParam
	 * @return
	 */
	List<PensionInfoSimVO> listPensionInfo(PensionInfoAppQryParam pensionInfoAppQryParam);

	/**
	 * 发布
	 *
	 * @param publishParams
	 */
	void release(PublishParam publishParams);

	/**
	 * 详情
	 * @param id
	 * @param width
	 * @return
	 */
    PensionInfoSimVO infoMobile(Long id, int width);
}
